<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>温度计</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="css/default.css">
  <!-- 自定义函数 -->
  <script src="/common/fun.js"></script>
</head>
<body>

<article class="zzsc-container">
	<div class="zzsc-content bgcolor-25">
		<div class="tempGauge2">50℃</div>
	</div>
</article>

<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.tempgauge.js"></script>
<script type="text/javascript">
	$(function(){
		$(".tempGauge2").tempGauge({width:150,maxTemp:120,minTemp: -20, labelSize:25,borderWidth:4, borderColor:"#fff", fillColor:"#dcdcdc", showLabel:true});
	});
//获取温度值
var tem=getUrlParam('data');
//写到页面
$(".tempGauge2").text(tem+'℃');
</script>
</div>
</body>
</html>